package com.peace.hospital.entity.hospitalization;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 病房信息表
 * </p>
 *
 * @author 谢晓峰
 * @since 2019-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Sickroo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 病房编号
     */
    @TableId(value = "sicid", type = IdType.AUTO)
    private Integer sicid;

    /**
     * 科室id
     */
    private Integer depid;

    /**
     * 病房病床数
     */
    private Integer sisbednum;

    /**
     * 剩余病床数
     */
    private Integer sisurplusnum;

    /**
     * 病房数据库名称
     */
    private String sisdbsource;

    /**
     * 床位价格
     */
    private String beds;

    /**
     * 病房地址
     */
    private String sisaddress;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getSicid() {
        return sicid;
    }

    public void setSicid(Integer sicid) {
        this.sicid = sicid;
    }

    public Integer getDepid() {
        return depid;
    }

    public void setDepid(Integer depid) {
        this.depid = depid;
    }

    public Integer getSisbednum() {
        return sisbednum;
    }

    public void setSisbednum(Integer sisbednum) {
        this.sisbednum = sisbednum;
    }

    public Integer getSisurplusnum() {
        return sisurplusnum;
    }

    public void setSisurplusnum(Integer sisurplusnum) {
        this.sisurplusnum = sisurplusnum;
    }

    public String getSisdbsource() {
        return sisdbsource;
    }

    public void setSisdbsource(String sisdbsource) {
        this.sisdbsource = sisdbsource;
    }

    public String getBeds() {
        return beds;
    }

    public void setBeds(String beds) {
        this.beds = beds;
    }

    public String getSisaddress() {
        return sisaddress;
    }

    public void setSisaddress(String sisaddress) {
        this.sisaddress = sisaddress;
    }

    @Override
    public String toString() {
        return "Sickroo{" +
                "sicid=" + sicid +
                ", depid=" + depid +
                ", sisbednum=" + sisbednum +
                ", sisurplusnum=" + sisurplusnum +
                ", sisdbsource='" + sisdbsource + '\'' +
                ", beds='" + beds + '\'' +
                ", sisaddress='" + sisaddress + '\'' +
                '}';
    }
}
